[INFO] cloning repository https://github.com/hiyenwong/sqlite-knowledge-graph
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hiyenwong/sqlite-knowledge-graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiyenwong%2Fsqlite-knowledge-graph", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiyenwong%2Fsqlite-knowledge-graph'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d81ac7e3e9efd553553a7a0d263907fdd571e957
[INFO] fixing hiyenwong/sqlite-knowledge-graph against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiyenwong%2Fsqlite-knowledge-graph" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hiyenwong/sqlite-knowledge-graph
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/hiyenwong/sqlite-knowledge-graph
[INFO] tweaked toml for git repo https://github.com/hiyenwong/sqlite-knowledge-graph written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hiyenwong/sqlite-knowledge-graph on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hiyenwong/sqlite-knowledge-graph already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c
[INFO] running `Command { std: "docker" "start" "f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking shellexpand v3.1.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]     Checking simba v0.9.1
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling zerocopy-derive v0.8.47
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tokio v1.51.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling sqlite-loadable-macros v0.0.3
[INFO] [stderr]     Checking nalgebra v0.33.3
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling sqlite3ext-sys v0.0.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking sqlite-loadable v0.0.6-alpha.6
[INFO] [stderr]     Checking sqlite-knowledge-graph v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_knowledge_graph`
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]    --> src/embed.rs:377:13
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let gen = EmbeddingGenerator::new().with_force(true);
[INFO] [stdout]     |             ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout]     = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/extension.rs
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]    --> src/embed.rs:378:18
[INFO] [stdout]     |
[INFO] [stdout] 378 |         assert!(!gen.skip_existing);
[INFO] [stdout]     |                  ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  ::: src/rag/mod.rs
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/extension.rs:220:1
[INFO] [stdout]     |
[INFO] [stdout] 220 | / /// Extension entry point
[INFO] [stdout] 221 | | #[sqlite_entrypoint]
[INFO] [stdout] 222 | | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 | |     register_extension_functions(db)
[INFO] [stdout] 224 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 220 ~ unsafe(/// Extension entry point
[INFO] [stdout] 221 | #[sqlite_entrypoint]
[INFO] [stdout] 222 | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 |     register_extension_functions(db)
[INFO] [stdout] 224 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected item, found keyword `unsafe`
[INFO] [stdout] warning: cannot explicitly dereference within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                           ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:26
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          ^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|&(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               --> src/extension.rs:220:1
[INFO] [stdout] warning: cannot explicitly dereference within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                   ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:18
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  ^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|&(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]                |
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/rag/mod.rs:291:34
[INFO] [stdout]     |
[INFO] [stdout] 275 |             let neighbours = match get_neighbors(conn, seed_id, self.config.graph_depth) {
[INFO] [stdout]     |                                    -----------------------------------------------------
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                    `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 291 |                 if let Ok(vec) = store.get_vector(conn, nbr_id) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                                  up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 297 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            220 | unsafe(/// Extension entry point
[INFO] [stderr]                | ^^^^^^ expected item
[INFO] [stderr]                |
[INFO] [stderr]                = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            warning: relative drop order changing in Rust 2024
[INFO] [stderr]               --> src/rag/mod.rs:291:34
[INFO] [stderr]                |
[INFO] [stderr]            275 |             let neighbours = match get_neighbors(conn, seed_id, self.config.graph_depth) {
[INFO] [stderr]                |                                    -----------------------------------------------------
[INFO] [stderr]                |                                    |
[INFO] [stderr]                |                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stderr]                |                                    `#1` will be dropped later as of Edition 2024
[INFO] [stderr]            ...
[INFO] [stderr]            291 |                 if let Ok(vec) = store.get_vector(conn, nbr_id) {
[INFO] [stderr]                |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]                |                                  |
[INFO] [stderr]                |                                  this value will be stored in a temporary; let us call it `#2`
[INFO] [stderr]                |                                  up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stderr]            ...
[INFO] [stderr]            297 |             }
[INFO] [stderr]                |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stderr]                |
[INFO] [stderr]                = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stderr]                = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stderr]                = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stderr]                = warning: this changes meaning in Rust 2024
[INFO] [stderr]                = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stderr]                = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `sqlite_knowledge_graph`
[INFO] [stderr]  --> src/extension.rs
[INFO] [stderr]  ::: src/rag/mod.rs
[INFO] [stderr]   = cause: error: expected item, found keyword `unsafe`
[INFO] [stderr]               --> src/extension.rs:220:1
[INFO] [stderr]                |
[INFO] [stderr]            220 | unsafe(/// Extension entry point
[INFO] [stderr]                | ^^^^^^ expected item
[INFO] [stderr]                |
[INFO] [stderr]                = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            warning: relative drop order changing in Rust 2024
[INFO] [stderr]               --> src/rag/mod.rs:291:34
[INFO] [stderr]                |
[INFO] [stderr]            275 |             let neighbours = match get_neighbors(conn, seed_id, self.config.graph_depth) {
[INFO] [stderr]                |                                    -----------------------------------------------------
[INFO] [stderr]                |                                    |
[INFO] [stderr]                |                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stderr]                |                                    `#1` will be dropped later as of Edition 2024
[INFO] [stderr]            ...
[INFO] [stderr]            291 |                 if let Ok(vec) = store.get_vector(conn, nbr_id) {
[INFO] [stderr]                |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]                |                                  |
[INFO] [stderr]                |                                  this value will be stored in a temporary; let us call it `#2`
[INFO] [stderr]                |                                  up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stderr]            ...
[INFO] [stderr]            297 |             }
[INFO] [stderr]                |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stderr]                |
[INFO] [stderr]                = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stderr]                = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stderr]                = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stderr]                = warning: this changes meaning in Rust 2024
[INFO] [stderr]                = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stderr]                = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]    Migrating src/bin/migrate.rs from 2021 edition to 2024
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]    --> src/embed.rs:377:13
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let gen = EmbeddingGenerator::new().with_force(true);
[INFO] [stdout]     |             ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout]     = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]    --> src/embed.rs:378:18
[INFO] [stdout]     |
[INFO] [stdout] 378 |         assert!(!gen.skip_existing);
[INFO] [stdout]     |                  ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/extension.rs:220:1
[INFO] [stdout]     |
[INFO] [stdout] 220 | / /// Extension entry point
[INFO] [stdout] 221 | | #[sqlite_entrypoint]
[INFO] [stdout] 222 | | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 | |     register_extension_functions(db)
[INFO] [stdout] 224 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 220 ~ unsafe(/// Extension entry point
[INFO] [stdout] 221 | #[sqlite_entrypoint]
[INFO] [stdout] 222 | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 |     register_extension_functions(db)
[INFO] [stdout] 224 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly dereference within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                           ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:26
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          ^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]     = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|&(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly dereference within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                   ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:18
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  ^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|&(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/rag/mod.rs:291:34
[INFO] [stdout]     |
[INFO] [stdout] 275 |             let neighbours = match get_neighbors(conn, seed_id, self.config.graph_depth) {
[INFO] [stdout]     |                                    -----------------------------------------------------
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                    `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 291 |                 if let Ok(vec) = store.get_vector(conn, nbr_id) {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]     |                                  up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 297 |             }
[INFO] [stdout]     |             - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/integration.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/async_integration.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/turboquant_benchmark.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed tests/turboquant_benchmark.rs (1 fix)
[INFO] [stderr]    Migrating benches/turboquant_bench.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed benches/turboquant_bench.rs (1 fix)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] [stderr] crater-edition-check: sqlite-knowledge-graph v0.13.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking sqlite-knowledge-graph v0.13.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]    --> src/embed.rs:377:13
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let gen = EmbeddingGenerator::new().with_force(true);
[INFO] [stdout]     |             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let r#gen = EmbeddingGenerator::new().with_force(true);
[INFO] [stdout]     |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]    --> src/embed.rs:377:13
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let gen = EmbeddingGenerator::new().with_force(true);
[INFO] [stdout]     |             ^^^ expected identifier, found reserved keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let r#gen = EmbeddingGenerator::new().with_force(true);
[INFO] [stdout]     |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]    --> src/embed.rs:378:18
[INFO] [stdout]     |
[INFO] [stdout] 378 |         assert!(!gen.skip_existing);
[INFO] [stdout]     |                  ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/extension.rs:220:1
[INFO] [stdout]     |
[INFO] [stdout] 220 | / /// Extension entry point
[INFO] [stdout] 221 | | #[sqlite_entrypoint]
[INFO] [stdout] 222 | | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 | |     register_extension_functions(db)
[INFO] [stdout] 224 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 220 ~ unsafe(/// Extension entry point
[INFO] [stdout] 221 | #[sqlite_entrypoint]
[INFO] [stdout] 222 | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 |     register_extension_functions(db)
[INFO] [stdout] 224 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/extension.rs:220:1
[INFO] [stdout]     |
[INFO] [stdout] 220 | / /// Extension entry point
[INFO] [stdout] 221 | | #[sqlite_entrypoint]
[INFO] [stdout] 222 | | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 | |     register_extension_functions(db)
[INFO] [stdout] 224 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 220 ~ unsafe(/// Extension entry point
[INFO] [stdout] 221 | #[sqlite_entrypoint]
[INFO] [stdout] 222 | pub fn sqlite3_sqlite_knowledge_graph_init(db: *mut sqlite3) -> Result<(), Error> {
[INFO] [stdout] 223 |     register_extension_functions(db)
[INFO] [stdout] 224 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly dereference within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                           ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:26
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          ^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|&(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly dereference within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                   ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:18
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  ^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|&(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly dereference within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:27
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                           ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:255:26
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          ^^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 .filter(|&(&nbr, _)| community[nbr] == target_community)
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly dereference within an implicitly-borrowing pattern
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                   ^ reference pattern not allowed when implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]    --> src/algorithms/louvain.rs:264:18
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  ^^^^^^^^ this non-reference pattern matches on a reference type `&_`
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]     |
[INFO] [stdout] 264 |         .filter(|&(&id, _)| id != node && community[id] == target_community)
[INFO] [stdout]     |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sqlite-knowledge-graph` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sqlite-knowledge-graph` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c", kill_on_drop: false }`
[INFO] [stdout] f64ac55114d37c60fabadc86f4422a65390564efd8786717a8f2fff4c0b2d66c
